import { ipcMain } from 'electron'

const eventListeners = {
  onLoginOrRegister(callback) {
    ipcMain.on('loginOrRegister', callback)
  },
  onOpenChat(callback) {
    ipcMain.on('openChat', callback)
  },
  onWinTitleOp(callback) {
    ipcMain.on('winTitleOp', callback)
  }
}

export default eventListeners
